/*
 * HistogramFeature.h
 *
 *  Created on: Feb 23, 2011
 *      Author: johang
 */

#ifndef HistogramFeature_H_
#define HistogramFeature_H_
#include "Point.h"
#include "Feature.h"
class HistogramFeature: public Feature {
public:
	int* bins;
	float* min;
	float* max;
	Feature * feature;
	TF ** transformationfunction;
	HistogramFeature(Feature * feat,int* binsi ,float* mini , float* maxi,	TF ** transf);
	~HistogramFeature();
	void getResponse(float * output,Point *** points, int x, int y,int * divi);
	int getIndex(int * pos);
private:
	int* accum;
};

#endif
